home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
cmds.fmt
/
jls.man
< prev
next >
Wrap
Text File
|
1992-10-06
|
7KB
|
199 lines
jls User Commands jls
_________________________________________________________________
NNAAMMEE
jls - list contents of a Jaquith archive directory.
SSYYNNOOPPSSIISS
jjllss [--aarrcchh _a_r_c_h_i_v_e] [--sseerrvveerr _h_o_s_t_n_a_m_e] [--ppoorrtt _p_o_r_t]
[--rraannggee ((_d_a_t_e_1,_d_a_t_e_2)] [--oowwnneerr _n_a_m_e] [--ggrroouupp _n_a_m_e] [--aabbss
_r_e_g_e_x_p] [--uu]] [[--aassooff _d_a_t_e] [--ssiinnccee _d_a_t_e] [--ffiirrsstt _n] [--llaasstt _n]
[--aallll] [--mmooddddaattee] [_f_i_l_e_l_i_s_t] [--ll] [--ii] [--uu] [--aa] [--ss] [--gg]
[--dd] [--RR] [--rraaww]
OOPPTTIIOONNSS
--aarrcchh _a_r_c_h_i_v_e Name of logical archive. If none is speci-
fied, the environment variable JARCHIVE is
used, if defined, else the default archive is
used.
--sseerrvveerr _h_o_s_t_n_a_m_e
Specifies host where Jaquith server is run-
ning. Defaults to the environment variable
JSERVER.
--ppoorrtt _p_o_r_t Specifies port number where Jaquith server is
running. Defaults to the environment variable
JPORT.
--rraannggee _d_a_t_e_1,_d_a_t_e_2
List files with date in specified range.
--oowwnneerr _n_a_m_e List only files with specified owner name.
--ggrroouupp _n_a_m_e List only files with specified group name.
--aabbss _r_e_g_e_x_p List files which match _r_e_g_e_x_p in their
abstract lines.
--aassooff _d_a_t_e List version which was current as of specified
date. Equivalent to: -range(1-jan-1970,_d_a_t_e)
--ssiinnccee _d_a_t_e List versions between _d_a_t_e and present date.
Equivalent to: -range(_d_a_t_e,_p_r_e_s_e_n_t-_d_a_t_e)
--ffiirrsstt _n List from the nth version in the date range.
--llaasstt List to the nth version in the date range.
--aallll List all the versions in the archive.
Equivalent to: -first 1 -last -1
--mmooddddaattee Use the file's modification date, not its
archive date for all date comparisons.
Sprite v1.0 1
jls User Commands jls
--ll Display using long format (see below).
--ii Display buffer number where file lives, volume
id where buffer lives, and position on volume
of buffer.
--uu Display archive date instead of last-
modification date (with -l option).
--aa Display abstract.
--ss Display file size in 1024 byte units.
--gg Display group name.
--dd Display directory name only.
--RR Display directory tree recursively.
--rraaww Display output in raw mode. This feature is
undocumented, (you are NOT presently reading
this) and is subject to change/removal.
_________________________________________________________________
DDEESSCCRRIIPPTTIIOONN
JJllss provides a simple directory listing mechanism for an
archive tape system controlled by the Jaquith program.
The primary argument _f_i_l_e_l_i_s_t is a file expression which
specifies the files to be listed. Shell-like globbing is
supported. '*' matches any number of characters. '?' matches
a single character. Additionally, curly braces can be used
to enclose alternatives. For example foo.{bak,?} matches
foo.bak, foo.c and foo.h.
Note that any metacharacters which are not protected with a
backslash or quotes will be expanded by the shell, not by
the Jaquith system.
The default action is to list the simple filenames of the
most recent versions of matching filenames. The set of
files listed can be controlled by the use of one or more
options. The options are all logically ANDed together; only
files matching all criteria are listed.
The -range, -first and -last options work together to
specify a subset of the archived versions. First, the date
range is applied, resulting in a list of candidates numbered
logically from 1 to _n. Then the first and last options are
applied to this list. First and last can be positive and
retrieve the specified filenames from restricted list, or
they can be negative in which case they count from the end
Sprite v1.0 2
jls User Commands jls
of the list. Thus, the most recent version of a file can be
retrieved with 'first -1 last -1' without having to know how
many versions currently exist.
_d_a_t_e is of the form _D_a_t_e_S_p_e_c[:_T_i_m_e_S_p_e_c]. _T_i_m_e_S_p_e_c is of the
form [hh[:mm[:ss]]], and _D_a_t_e_S_p_e_c is of the form
dd-month[-yyyy]. Month is the first 3 letters of the month;
all others are numbers. The '/' character is a substitute
for '-' and '.' may be used instead of ':'.
By default jls simply lists the matching filenames, 1 per
line. In long form jls generates:
_m_o_d_e _o_w_n_e_r_I_D _s_i_z_e _d_a_t_e _f_i_l_e_n_a_m_e
With the --ii option the "inode" information is included:
_t_B_u_f_I_d _v_o_l_I_d _f_i_l_e_m_a_r_k _m_o_d_e _o_w_n_e_r_I_D _s_i_z_e _d_a_t_e _f_i_l_e_n_a_m_e
_d_a_t_e is the archive date if the -_u option is given, else
it's the file's last modification date.
BBUUGGSS
The option flags have little relation to the standard ls
options.
No multicolumn formatting is provided.
A file which matches more than one regular expression will
be listed multiple times.
Only one archive can be specified at a time.
Unlike the shell, the Jaquith globbing characters '*' and
'?' match a '.' in the first position.
SSEEEE AALLSSOO
jaquith jmgr jstat jput jget jctrl jcopy jclean jbuild
KKEEYYWWOORRDDSS
jaquith archive
Sprite v1.0 3